package seotools.positions;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;

/**
 * Created by IntelliJ IDEA.
 * User: vladimir
 * Date: 13.05.11
 * Time: 21:02
 * To change this template use File | Settings | File Templates.
 */
public class Domain {
    public static void main(String[] args) throws IOException {
//        Document doc = Jsoup.connect("http://yandex.ru").get();
        HttpURLConnection conn = (HttpURLConnection) new URL("http://yandex.ru").openConnection();
        System.out.println("conn = " + conn);
    }
}
